package cj.web.admin.domain;
/*
 *  
 *  
*/
import java.io.Serializable;

/**
 * 新闻管理Head
 */
public class News extends DataTablePage implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 5593271334803858569L;
	protected Integer id;
	protected Integer type;
	protected String label;
	protected Integer columnsId;
	protected Integer subjectId;
	protected Integer voteId;
	protected String title;
	protected String keywords;
	protected String abstractInfor;
	protected String vedioUrl;
	protected String carouselImage;
	protected String content;
	protected String author;
	protected Integer status;
	protected Integer releaseState;
	protected String releaseAt;
	protected Integer isTop;
	protected Integer isOuterLink;
	protected Integer isComments;
	protected String outerLinkUrl;
	protected String stickAt;
	protected Integer pvNum;
	protected Integer pvNumFinal;
	protected Integer praiseNum;
	protected Integer commentsNum;
	protected Integer forwardNum;
	protected Integer collectNum;
	protected Integer deleteFlag;
	protected String createUser;
	protected String createAt;
	protected String updateUser;
	protected String updateAt;
	protected String source;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getLabel() {
		return label;
	}
	public void setLabel(String label) {
		this.label = label;
	}
	public Integer getColumnsId() {
		return columnsId;
	}
	public void setColumnsId(Integer columnsId) {
		this.columnsId = columnsId;
	}
	public Integer getSubjectId() {
		return subjectId;
	}
	public void setSubjectId(Integer subjectId) {
		this.subjectId = subjectId;
	}
	public Integer getVoteId() {
		return voteId;
	}
	public void setVoteId(Integer voteId) {
		this.voteId = voteId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getKeywords() {
		return keywords;
	}
	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}
	public String getAbstractInfor() {
		return abstractInfor;
	}
	public void setAbstractInfor(String abstractInfor) {
		this.abstractInfor = abstractInfor;
	}
	public String getVedioUrl() {
		return vedioUrl;
	}
	public void setVedioUrl(String vedioUrl) {
		this.vedioUrl = vedioUrl;
	}
	public String getCarouselImage() {
		return carouselImage;
	}
	public void setCarouselImage(String carouselImage) {
		this.carouselImage = carouselImage;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getReleaseState() {
		return releaseState;
	}
	public void setReleaseState(Integer releaseState) {
		this.releaseState = releaseState;
	}
	public String getReleaseAt() {
		return releaseAt;
	}
	public void setReleaseAt(String releaseAt) {
		this.releaseAt = releaseAt;
	}
	public Integer getIsTop() {
		return isTop;
	}
	public void setIsTop(Integer isTop) {
		this.isTop = isTop;
	}
	public Integer getIsOuterLink() {
		return isOuterLink;
	}
	public void setIsOuterLink(Integer isOuterLink) {
		this.isOuterLink = isOuterLink;
	}
	public Integer getIsComments() {
		return isComments;
	}
	public void setIsComments(Integer isComments) {
		this.isComments = isComments;
	}
	public String getOuterLinkUrl() {
		return outerLinkUrl;
	}
	public void setOuterLinkUrl(String outerLinkUrl) {
		this.outerLinkUrl = outerLinkUrl;
	}
	public String getStickAt() {
		return stickAt;
	}
	public void setStickAt(String stickAt) {
		this.stickAt = stickAt;
	}
	public Integer getPvNum() {
		return pvNum;
	}
	public void setPvNum(Integer pvNum) {
		this.pvNum = pvNum;
	}
	public Integer getPvNumFinal() {
		return pvNumFinal;
	}
	public void setPvNumFinal(Integer pvNumFinal) {
		this.pvNumFinal = pvNumFinal;
	}
	public Integer getPraiseNum() {
		return praiseNum;
	}
	public void setPraiseNum(Integer praiseNum) {
		this.praiseNum = praiseNum;
	}
	public Integer getCommentsNum() {
		return commentsNum;
	}
	public void setCommentsNum(Integer commentsNum) {
		this.commentsNum = commentsNum;
	}
	public Integer getForwardNum() {
		return forwardNum;
	}
	public void setForwardNum(Integer forwardNum) {
		this.forwardNum = forwardNum;
	}
	public Integer getCollectNum() {
		return collectNum;
	}
	public void setCollectNum(Integer collectNum) {
		this.collectNum = collectNum;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getCreateAt() {
		return createAt;
	}
	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	public String getUpdateAt() {
		return updateAt;
	}
	public void setUpdateAt(String updateAt) {
		this.updateAt = updateAt;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result
				+ ((abstractInfor == null) ? 0 : abstractInfor.hashCode());
		result = prime * result + ((author == null) ? 0 : author.hashCode());
		result = prime * result
				+ ((carouselImage == null) ? 0 : carouselImage.hashCode());
		result = prime * result
				+ ((collectNum == null) ? 0 : collectNum.hashCode());
		result = prime * result
				+ ((columnsId == null) ? 0 : columnsId.hashCode());
		result = prime * result
				+ ((commentsNum == null) ? 0 : commentsNum.hashCode());
		result = prime * result + ((content == null) ? 0 : content.hashCode());
		result = prime * result
				+ ((createAt == null) ? 0 : createAt.hashCode());
		result = prime * result
				+ ((createUser == null) ? 0 : createUser.hashCode());
		result = prime * result
				+ ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result
				+ ((forwardNum == null) ? 0 : forwardNum.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result
				+ ((isComments == null) ? 0 : isComments.hashCode());
		result = prime * result
				+ ((isOuterLink == null) ? 0 : isOuterLink.hashCode());
		result = prime * result + ((isTop == null) ? 0 : isTop.hashCode());
		result = prime * result
				+ ((keywords == null) ? 0 : keywords.hashCode());
		result = prime * result + ((label == null) ? 0 : label.hashCode());
		result = prime * result
				+ ((outerLinkUrl == null) ? 0 : outerLinkUrl.hashCode());
		result = prime * result
				+ ((praiseNum == null) ? 0 : praiseNum.hashCode());
		result = prime * result + ((pvNum == null) ? 0 : pvNum.hashCode());
		result = prime * result
				+ ((pvNumFinal == null) ? 0 : pvNumFinal.hashCode());
		result = prime * result
				+ ((releaseAt == null) ? 0 : releaseAt.hashCode());
		result = prime * result
				+ ((releaseState == null) ? 0 : releaseState.hashCode());
		result = prime * result + ((source == null) ? 0 : source.hashCode());
		result = prime * result + ((status == null) ? 0 : status.hashCode());
		result = prime * result + ((stickAt == null) ? 0 : stickAt.hashCode());
		result = prime * result
				+ ((subjectId == null) ? 0 : subjectId.hashCode());
		result = prime * result + ((title == null) ? 0 : title.hashCode());
		result = prime * result + ((type == null) ? 0 : type.hashCode());
		result = prime * result
				+ ((updateAt == null) ? 0 : updateAt.hashCode());
		result = prime * result
				+ ((updateUser == null) ? 0 : updateUser.hashCode());
		result = prime * result
				+ ((vedioUrl == null) ? 0 : vedioUrl.hashCode());
		result = prime * result + ((voteId == null) ? 0 : voteId.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		News other = (News) obj;
		if (abstractInfor == null) {
			if (other.abstractInfor != null)
				return false;
		} else if (!abstractInfor.equals(other.abstractInfor))
			return false;
		if (author == null) {
			if (other.author != null)
				return false;
		} else if (!author.equals(other.author))
			return false;
		if (carouselImage == null) {
			if (other.carouselImage != null)
				return false;
		} else if (!carouselImage.equals(other.carouselImage))
			return false;
		if (collectNum == null) {
			if (other.collectNum != null)
				return false;
		} else if (!collectNum.equals(other.collectNum))
			return false;
		if (columnsId == null) {
			if (other.columnsId != null)
				return false;
		} else if (!columnsId.equals(other.columnsId))
			return false;
		if (commentsNum == null) {
			if (other.commentsNum != null)
				return false;
		} else if (!commentsNum.equals(other.commentsNum))
			return false;
		if (content == null) {
			if (other.content != null)
				return false;
		} else if (!content.equals(other.content))
			return false;
		if (createAt == null) {
			if (other.createAt != null)
				return false;
		} else if (!createAt.equals(other.createAt))
			return false;
		if (createUser == null) {
			if (other.createUser != null)
				return false;
		} else if (!createUser.equals(other.createUser))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (forwardNum == null) {
			if (other.forwardNum != null)
				return false;
		} else if (!forwardNum.equals(other.forwardNum))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (isComments == null) {
			if (other.isComments != null)
				return false;
		} else if (!isComments.equals(other.isComments))
			return false;
		if (isOuterLink == null) {
			if (other.isOuterLink != null)
				return false;
		} else if (!isOuterLink.equals(other.isOuterLink))
			return false;
		if (isTop == null) {
			if (other.isTop != null)
				return false;
		} else if (!isTop.equals(other.isTop))
			return false;
		if (keywords == null) {
			if (other.keywords != null)
				return false;
		} else if (!keywords.equals(other.keywords))
			return false;
		if (label == null) {
			if (other.label != null)
				return false;
		} else if (!label.equals(other.label))
			return false;
		if (outerLinkUrl == null) {
			if (other.outerLinkUrl != null)
				return false;
		} else if (!outerLinkUrl.equals(other.outerLinkUrl))
			return false;
		if (praiseNum == null) {
			if (other.praiseNum != null)
				return false;
		} else if (!praiseNum.equals(other.praiseNum))
			return false;
		if (pvNum == null) {
			if (other.pvNum != null)
				return false;
		} else if (!pvNum.equals(other.pvNum))
			return false;
		if (pvNumFinal == null) {
			if (other.pvNumFinal != null)
				return false;
		} else if (!pvNumFinal.equals(other.pvNumFinal))
			return false;
		if (releaseAt == null) {
			if (other.releaseAt != null)
				return false;
		} else if (!releaseAt.equals(other.releaseAt))
			return false;
		if (releaseState == null) {
			if (other.releaseState != null)
				return false;
		} else if (!releaseState.equals(other.releaseState))
			return false;
		if (source == null) {
			if (other.source != null)
				return false;
		} else if (!source.equals(other.source))
			return false;
		if (status == null) {
			if (other.status != null)
				return false;
		} else if (!status.equals(other.status))
			return false;
		if (stickAt == null) {
			if (other.stickAt != null)
				return false;
		} else if (!stickAt.equals(other.stickAt))
			return false;
		if (subjectId == null) {
			if (other.subjectId != null)
				return false;
		} else if (!subjectId.equals(other.subjectId))
			return false;
		if (title == null) {
			if (other.title != null)
				return false;
		} else if (!title.equals(other.title))
			return false;
		if (type == null) {
			if (other.type != null)
				return false;
		} else if (!type.equals(other.type))
			return false;
		if (updateAt == null) {
			if (other.updateAt != null)
				return false;
		} else if (!updateAt.equals(other.updateAt))
			return false;
		if (updateUser == null) {
			if (other.updateUser != null)
				return false;
		} else if (!updateUser.equals(other.updateUser))
			return false;
		if (vedioUrl == null) {
			if (other.vedioUrl != null)
				return false;
		} else if (!vedioUrl.equals(other.vedioUrl))
			return false;
		if (voteId == null) {
			if (other.voteId != null)
				return false;
		} else if (!voteId.equals(other.voteId))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "News [id=" + id + ", type=" + type + ", label=" + label
				+ ", columnsId=" + columnsId + ", subjectId=" + subjectId
				+ ", voteId=" + voteId + ", title=" + title + ", keywords="
				+ keywords + ", abstractInfor=" + abstractInfor + ", vedioUrl="
				+ vedioUrl + ", carouselImage=" + carouselImage + ", content="
				+ content + ", author=" + author + ", status=" + status
				+ ", releaseState=" + releaseState + ", releaseAt=" + releaseAt
				+ ", isTop=" + isTop + ", isOuterLink=" + isOuterLink
				+ ", isComments=" + isComments + ", outerLinkUrl="
				+ outerLinkUrl + ", stickAt=" + stickAt + ", pvNum=" + pvNum
				+ ", pvNumFinal=" + pvNumFinal + ", praiseNum=" + praiseNum
				+ ", commentsNum=" + commentsNum + ", forwardNum=" + forwardNum
				+ ", collectNum=" + collectNum + ", deleteFlag=" + deleteFlag
				+ ", createUser=" + createUser + ", createAt=" + createAt
				+ ", updateUser=" + updateUser + ", updateAt=" + updateAt
				+ ", source=" + source + "]";
	}
	
}